Optimal. Leaf size=57 \[ -\frac{3 \sqrt{b} \tan ^{-1}\left (\frac{\sqrt{a} \sqrt{x}}{\sqrt{b}}\right )}{a^{5/2}}+\frac{3 \sqrt{x}}{a^2}-\frac{x^{3/2}}{a (a x+b)} \]
[Out]
_______________________________________________________________________________________
Rubi [A] time = 0.0635048, antiderivative size = 57, normalized size of antiderivative = 1., number of steps used = 5, number of rules used = 5, integrand size = 15, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.333 \[ -\frac{3 \sqrt{b} \tan ^{-1}\left (\frac{\sqrt{a} \sqrt{x}}{\sqrt{b}}\right )}{a^{5/2}}+\frac{3 \sqrt{x}}{a^2}-\frac{x^{3/2}}{a (a x+b)} \]
Antiderivative was successfully verified.
[In] Int[1/((a + b/x)^2*Sqrt[x]),x]
[Out]
_______________________________________________________________________________________
Rubi in Sympy [A] time = 11.1167, size = 49, normalized size = 0.86 \[ - \frac{x^{\frac{3}{2}}}{a \left (a x + b\right )} + \frac{3 \sqrt{x}}{a^{2}} - \frac{3 \sqrt{b} \operatorname{atan}{\left (\frac{\sqrt{a} \sqrt{x}}{\sqrt{b}} \right )}}{a^{\frac{5}{2}}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] rubi_integrate(1/(a+b/x)**2/x**(1/2),x)
[Out]
_______________________________________________________________________________________
Mathematica [A] time = 0.0612655, size = 54, normalized size = 0.95 \[ \frac{\sqrt{x} (2 a x+3 b)}{a^2 (a x+b)}-\frac{3 \sqrt{b} \tan ^{-1}\left (\frac{\sqrt{a} \sqrt{x}}{\sqrt{b}}\right )}{a^{5/2}} \]
Antiderivative was successfully verified.
[In] Integrate[1/((a + b/x)^2*Sqrt[x]),x]
[Out]
_______________________________________________________________________________________
Maple [A] time = 0.016, size = 47, normalized size = 0.8 \[ 2\,{\frac{\sqrt{x}}{{a}^{2}}}+{\frac{b}{{a}^{2} \left ( ax+b \right ) }\sqrt{x}}-3\,{\frac{b}{{a}^{2}\sqrt{ab}}\arctan \left ({\frac{a\sqrt{x}}{\sqrt{ab}}} \right ) } \]
Verification of antiderivative is not currently implemented for this CAS.
[In] int(1/(a+b/x)^2/x^(1/2),x)
[Out]
_______________________________________________________________________________________
Maxima [F] time = 0., size = 0, normalized size = 0. \[ \text{Exception raised: ValueError} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate(1/((a + b/x)^2*sqrt(x)),x, algorithm="maxima")
[Out]
_______________________________________________________________________________________
Fricas [A] time = 0.241943, size = 1, normalized size = 0.02 \[ \left [\frac{3 \,{\left (a x + b\right )} \sqrt{-\frac{b}{a}} \log \left (\frac{a x - 2 \, a \sqrt{x} \sqrt{-\frac{b}{a}} - b}{a x + b}\right ) + 2 \,{\left (2 \, a x + 3 \, b\right )} \sqrt{x}}{2 \,{\left (a^{3} x + a^{2} b\right )}}, -\frac{3 \,{\left (a x + b\right )} \sqrt{\frac{b}{a}} \arctan \left (\frac{\sqrt{x}}{\sqrt{\frac{b}{a}}}\right ) -{\left (2 \, a x + 3 \, b\right )} \sqrt{x}}{a^{3} x + a^{2} b}\right ] \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate(1/((a + b/x)^2*sqrt(x)),x, algorithm="fricas")
[Out]
_______________________________________________________________________________________
Sympy [A] time = 32.9017, size = 411, normalized size = 7.21 \[ \begin{cases} \tilde{\infty } x^{\frac{5}{2}} & \text{for}\: a = 0 \wedge b = 0 \\\frac{2 \sqrt{x}}{a^{2}} & \text{for}\: b = 0 \\\frac{2 x^{\frac{5}{2}}}{5 b^{2}} & \text{for}\: a = 0 \\\frac{4 i a^{2} \sqrt{b} x^{\frac{3}{2}} \sqrt{\frac{1}{a}}}{2 i a^{4} \sqrt{b} x \sqrt{\frac{1}{a}} + 2 i a^{3} b^{\frac{3}{2}} \sqrt{\frac{1}{a}}} + \frac{6 i a b^{\frac{3}{2}} \sqrt{x} \sqrt{\frac{1}{a}}}{2 i a^{4} \sqrt{b} x \sqrt{\frac{1}{a}} + 2 i a^{3} b^{\frac{3}{2}} \sqrt{\frac{1}{a}}} - \frac{3 a b x \log{\left (- i \sqrt{b} \sqrt{\frac{1}{a}} + \sqrt{x} \right )}}{2 i a^{4} \sqrt{b} x \sqrt{\frac{1}{a}} + 2 i a^{3} b^{\frac{3}{2}} \sqrt{\frac{1}{a}}} + \frac{3 a b x \log{\left (i \sqrt{b} \sqrt{\frac{1}{a}} + \sqrt{x} \right )}}{2 i a^{4} \sqrt{b} x \sqrt{\frac{1}{a}} + 2 i a^{3} b^{\frac{3}{2}} \sqrt{\frac{1}{a}}} - \frac{3 b^{2} \log{\left (- i \sqrt{b} \sqrt{\frac{1}{a}} + \sqrt{x} \right )}}{2 i a^{4} \sqrt{b} x \sqrt{\frac{1}{a}} + 2 i a^{3} b^{\frac{3}{2}} \sqrt{\frac{1}{a}}} + \frac{3 b^{2} \log{\left (i \sqrt{b} \sqrt{\frac{1}{a}} + \sqrt{x} \right )}}{2 i a^{4} \sqrt{b} x \sqrt{\frac{1}{a}} + 2 i a^{3} b^{\frac{3}{2}} \sqrt{\frac{1}{a}}} & \text{otherwise} \end{cases} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate(1/(a+b/x)**2/x**(1/2),x)
[Out]
_______________________________________________________________________________________
GIAC/XCAS [A] time = 0.233561, size = 62, normalized size = 1.09 \[ -\frac{3 \, b \arctan \left (\frac{a \sqrt{x}}{\sqrt{a b}}\right )}{\sqrt{a b} a^{2}} + \frac{2 \, \sqrt{x}}{a^{2}} + \frac{b \sqrt{x}}{{\left (a x + b\right )} a^{2}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate(1/((a + b/x)^2*sqrt(x)),x, algorithm="giac")
[Out]